/**
 * create by young (young2f@outlook.com) on 2023/7/19
 */
'use strict';
const str = 'QN=20220314101300039;ST=32;CN=2011;PW=123456;MN=34070286TFSZ01;Flag=5;CP=&&DataTime=20220314101300;w01001-Rtd=7.828,w01001-Flag=N;w01018-Rtd=14.800,w01018-Flag=N;w21003-Rtd=0.050,w21003-Flag=N&&';

const arr=str.split(';')
console.log(arr.length)


function getKV(str) {
    const arr=str.split('=')
}
